package com.smart.test.proxy.advice;

import org.springframework.aop.AfterReturningAdvice;

import java.lang.reflect.Method;

/**
 * @auther a123
 * @create 2018-08-14 20:27
 * @desc 实现后置增强
 */
public class GreetingAfterAdvice implements AfterReturningAdvice {


    public void afterReturning(Object o, Method method, Object[] objects, Object o1) throws Throwable {
        System.out.println("please enjoy yourself ! ");
    }
}
